import Layout from '@/layout'

const productManage = {
  path: '/product-manage',
  component: Layout,
  redirect: '/product/product-channel',
  name: 'ProductManage',
  meta: { title: '产品管理', icon: 'product' },
  alwaysShow: true,
  children: [
    {
      path: 'channel',
      name: 'ProductChannel',
      component: () => import('@/views/product/channel/Channel'),
      meta: { title: '产品渠道' }
    },
    {
      path: 'product-list',
      name: 'ProductList',
      component: () => import('@/views/product/product-list/ProductList'),
      meta: { title: '产品列表' }
    }
  ]
}

export { productManage }
